﻿using System;
using Newtonsoft.Json;

namespace CnBlogsCore.Model
{
    public class ClientCredentials
    {
        [JsonProperty("access_token")]
        public string AccessToken
        {
            get; set;
        }

        [JsonProperty("expires_in")]
        public  int ExpiresIn
        {
            get; set;
        }

        [JsonProperty("token_type")]
        public string TokenType
        {
            get; set;
        }

        [JsonProperty("scope")]
        public string Scope
        {
            get; set;
        }

        public DateTime GenerateTime = DateTime.Now;
    }
}
